<template>
	<scroll-view scroll-y class="public-scroll-view">
		<view class="navigator-model">
			<navigator url="/pages/tabBar/tabComponentPage/container/view/view">
				<button class="navigator-button" type="primary">跳转到新页面</button>
			</navigator>
			<navigator url="/pages/tabBar/tabComponentPage/container/view/view" open-type="redirect">
				<button class="navigator-button" type="primary">在当前页打开</button>
			</navigator>
			<navigator url="/pages/tabBar/tabComponentPage/tabComponentPage" open-type="switchTab">
				<button class="navigator-button" type="primary">跳转tab页面</button>
			</navigator>
		</view>
	</scroll-view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style>
	.navigator-model {
		display: flex;
		flex-direction: column;
		padding-top: 20rpx;
	}

	.navigator-button {
		width: 90%;
		margin-bottom: 20rpx;

	}
</style>